package com.tensquare.problem.client.impl;

import com.tensquare.problem.client.LabelClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;

@Component
public class LabelClientimpl implements LabelClient {
    @Override
    public Result findById(String id) {
        return new Result(false, StatusCode.ERROR, "熔断器启动了");
    }


    @Override
    public Result findLabelAll() {
        System.out.println("熔断器启动了。。。");
        return new Result(false,StatusCode.ERROR,"熔断器启动了。");
    }

    @Override
    public Result addFans(String id) {
        System.out.println("熔断器启动了。。。");
        return new Result(false,StatusCode.ERROR,"熔断器启动了。");

    }
}


